 |
 |
 |
 |
#198794 - 03/07/03 04:12 PM
Re: [6.4] ELY_M's Upload
|
Member
Registered: 01/15/02
Posts: 39
Loc: SF
|
Found it here: http://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=20;t=000630;p=4#000053 I just applied this on my 6.4 version, and it did work to save the original fime name. But the overwrite protection didn't work. I was able to re-upload the same file, with no warning, and the file did not get CHMOD'd to 0444. Maybe I just need to check my upload settings... There may be a conflict with the new settings in the CP: quote:
How do you want the filename to be named after the user uploaded? There are three options for filenames: 1. Random filename in number after member uploaded (members can't overwrite files). 2. the filename to be named from the username of the user. 3. filename to be named by the member's number. One difference between the instructions and the newer version of ELYs_Upload: $vars_misc{SAVE_DIRECTORY} is now: $vars_modifications{elym_upload_SAVE_DIRECTORY}
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#198809 - 02/15/04 08:57 AM
Re: [6.4] ELY_M's Upload
|
Member
Registered: 05/03/01
Posts: 57
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#198814 - 02/16/04 11:24 PM
Re: [6.4] ELY_M's Upload
|
I type Like navaho
Registered: 03/10/00
Posts: 25580
Loc: Texas
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#198820 - 02/21/04 01:24 PM
Re: [6.4] ELY_M's Upload
|
Master Hacker
Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
|
I've made some progress, and had to make some changes. The file structure for uploaded files will be similar to that of flareupload. (Designated Dir Path As You Set)/(Member Number, or 'unregistered')/(actual file name, as it appeared on your hard drive) ie... afa.png If the folder doesn't exist, it will make it itself, not prompt you to tell your administrator to make the folder via ftp. Still have a while to go, wordletizing, cleaning some code, cp, xhtml Originally posted by RandyM:
Interesting

|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#198826 - 02/22/04 09:58 AM
Re: [6.4] ELY_M's Upload
|
Member
Registered: 05/03/01
Posts: 57
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#198830 - 04/27/04 10:33 AM
Re: [6.4] ELY_M's Upload
|
Master Hacker
Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#198844 - 05/24/05 11:00 PM
Re: [6.4] ELY_M's Upload
|
Enthusiast
Registered: 10/10/02
Posts: 394
Loc: Toronto
|
Ian, SCREEN SHOT In the picture above I need to be able to port the link generated by the uploader into the post when click on the LINK. I have the code:
<a href="javascript:void(0)" onclick="window.opener.insertAtCaret(window.opener.document.replier.message, ' %%LINK%% '); window.focus();">%%LINK%%</a>
it transport the wording "LINK" but I dont know how to port the actual file link. Can you help me out? please. Thanks in advance, Felix
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|